QuickOPC User's Guide and Reference
GetMultiStateDiscreteNode<TValue>(UAModelClient,UAEndpointDescriptor,UANodeDescriptor) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess.Extensions Namespace > UAModelClientExtension Class > GetMultiStateDiscreteNode Method : GetMultiStateDiscreteNode<TValue>(UAModelClient,UAEndpointDescriptor,UANodeDescriptor) Method
The type of the value of the node.
The OPC-UA model client.
Endpoint descriptor. Identifies the OPC-UA server.
Node descriptor. Identifies the node in OPC server's address space.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Overloads Shared Function GetMultiStateDiscreteNode(Of TValue)( _
   ByVal modelClient As UAModelClient, _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal nodeDescriptor As UANodeDescriptor _
) As UAMultiStateDiscreteNode(Of TValue,TValue)
'Usage
 
Dim modelClient As UAModelClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim nodeDescriptor As UANodeDescriptor
Dim value As UAMultiStateDiscreteNode(Of TValue,TValue)
 
value = UAModelClientExtension.GetMultiStateDiscreteNode(Of TValue)(modelClient, endpointDescriptor, nodeDescriptor)

Parameters

modelClient
The OPC-UA model client.
endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
nodeDescriptor
Node descriptor. Identifies the node in OPC server's address space.

Type Parameters

TValue
The type of the value of the node.

Return Value

Returns the multi-state discrete item node obtained from the model client.
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

UAModelClientExtension Class
UAModelClientExtension Members
Overload List